-
Home
-
Servebolt Optimizer
-
3.5.58 (latest)
-
Code
-
Classes
- SetCookie
| Total Complexity |
88 |
| Dependencies |
0 |
| Dependents |
4 |
| Total lines |
481 |
| Lines of code |
222 |
| Logical lines of code |
120 |
| Comment lines |
154 |
| Methods |
26 |
| Properties |
2 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
A |
46 |
15 |
38 |
| fromString() |
A |
47 |
10 |
33 |
| __toString() |
S |
58 |
8 |
13 |
| validate() |
S |
54 |
6 |
23 |
| setExpires() |
S |
67 |
6 |
6 |
| matchesDomain() |
S |
58 |
5 |
15 |
| matchesPath() |
S |
60 |
5 |
13 |
| setDomain() |
S |
68 |
4 |
6 |
| setMaxAge() |
S |
68 |
4 |
6 |
| setName() |
S |
69 |
2 |
6 |
| setValue() |
S |
69 |
2 |
6 |
| setPath() |
S |
69 |
2 |
6 |
| getMaxAge() |
S |
78 |
2 |
3 |
| setSecure() |
S |
69 |
2 |
6 |
| setDiscard() |
S |
69 |
2 |
6 |
| setHttpOnly() |
S |
69 |
2 |
6 |
| isExpired() |
S |
78 |
2 |
3 |
| toArray() |
S |
82 |
1 |
3 |
| getName() |
S |
80 |
1 |
3 |
| getValue() |
S |
80 |
1 |
3 |
| getDomain() |
S |
80 |
1 |
3 |
| getPath() |
S |
80 |
1 |
3 |
| getExpires() |
S |
80 |
1 |
3 |
| getSecure() |
S |
80 |
1 |
3 |
| getDiscard() |
S |
80 |
1 |
3 |
| getHttpOnly() |
S |
80 |
1 |
3 |